<template>
  <section>
    <el-tabs v-model="pageName">
      <el-tab-pane label="产品管理" name="second">
        <product-list v-if="pageName === 'second'"></product-list>
      </el-tab-pane>
    </el-tabs>
  </section>
</template>

<script>
  import productList from './productList'
  export default {
    name: "index",
    components: {productList},
    data() {
      return {
        pageName:'second',
      }
    },
  }
</script>

<style scoped>

</style>
